const common = require('./webpack.common')
cosnt merge = require('webpack-merge')
const {CleanWebpackPlugin} = require('clean-webpack-plugin')
const CopyWebpackPlugin = require('copy-webpack-plugin')

module.exports = Object.asign({},common,{
    mode:'production',
    //devserver配置
    devServer:{
        hot:true,
        //静态资源监听
        //只使用热更新
        //hotOnly:true,
        contentBase:'./public',
        
    },
    devtool:'cheap-module-eval-source-map',
})